cleanup
xrange