rename function step() to range()