Put events in separate file