changes to convert player class to be immutable