create event properly