We probably want ``range`` instead of ``xrange`` here.