prototype, you can create categories and purchases, and count total amount