minor refactoring in playIt()