xrange -> range_type for consistency