added feature to get player status