connect categories to transactions