Revert "create event"

This reverts commit d816c293b3d7ba9be3048cbabdb826170c859f40.
revert removed functions