add getplayers method