Added purpose field mapping