add method getEvent