remove Player object from all functions and tests