add function get all players