Using emitter.once instead of emitter.on so that I dont need to remove eventListeners