try to simplify showCategory