added method for dynamicaly calling sub-type parsers