add category and amount columns