removed test code from Player