implemented multiplayer aspect