added outputType attribute