add events to entity