adding in eventemitter