reorganized codes