added timestamp to events