parsing of subtypes