added multiplayer message passing