adding event emitters