Changed req + xrange