added to procedure list
moved primary codes to a map