refactoring dashboard deposits