beta implementation of event publishing