add getPlayer method