Updated and Added new code to improve multiplayer