Added setPlayer method