add typeName to rep