committing setInterval example