added functions to parse for subfields