some refactoring in preparation for completing the place action