mention about range function and its interface