added demo of dynamic category output