add function find player