delete repeat method