solving design issue at cash_flow index