Fully functionality CreateEvent