simplify catalog menu code