add function check player status