added parsing of type constructors