Add function for player to check