add event type and source