added parsing of attribute types