adding Repeat class to handle inifite repeat case