Added code to the PlayerClient class ...needs to be tested