save codes in downcase