How to have a smarter spending plan