Reorganized turn code.