getting event type and status