adding RemoveEvenListener function