added multiplayer to the sample (untested yet)