add event from the map