more serialization and sending events