added cashflow clean method