test repeat functionality added