helper for showing categories