Added additional repeat functionality