use given player.
Cleanup debug code.