add codes to list