optimization
more events
removed conflicting destructor
works on lxplus