Modify repeat behaviour