populate history with category labels