stack has a event emitter