ugh, xrange, not xranges