The Cobb–Douglas production function was not developed on the basis of any knowledge of engineering, technology, or management of the production process. This rationale may be true given the definition of the Capital term. Labor hours and Capital need a better definition. If capital is defined as a building, labor is already included in the development of that building. A building is composed of commodities, labor and risks and general conditions. It was instead developed because it had attractive mathematical characteristics, such as diminishing marginal returns to either factor of production and the property that the optimal expenditure shares on any given input of a firm operating a Cobb–Douglas technology are constant. Initially, there were no utility foundations for it. In the modern era, some economists try to build models up from individual agents acting, rather than imposing a functional form on an entire economy. The Cobb–Douglas production function, if properly defined, can be applied at a micro-economic level, up to a macro- economic level.