Direct method of cash flow calculation