Fixed xrange -> range