added actions to events