Changed playerBalance to be double