refactored creating event