Added method setPlayer