basic refactoring -> getMoney