instance of event emitter; create helpers class; refactoring