handle the create event