added networking features to test multiplayer