working on event sending