some code that I use to manage my finances (I swear the name it chose was random)