get codes map