category, rebuild, toogle into function