codes reorganized