moves pi to the right place