added ability to move pieces