changed method to getCurrentPlayer