added a event for firefly