pass in playerName class and other details