moved contacts_event to helper