Added filter and compute balance functionnalities