create and show event working