code list refactoring