aggregate demand in the goods and money markets