added time to event arguments (except Clock) + math cleanup