range: add some more functions