adding event emitter to base
this is how it will work