defining UnaryEvent