same python3 xrange issue as above