eventemitter task solution