Added searhByPlayer function