Added take and repeating.