Rotation is now part of main code.