Consumption functions and investment