use `six.range` for python3 compatibility. there is no `xrange` in python3. Also, what's the purpose of manually specifying the step of `1`. Isn't that the default?