private function findEvent added