Added print lines that showed where in the process the manipulation is taking place.