createEvent public