tempus: add event and timer