set event on repeat