added class variables to CashFlowImpl class