init category, generalize filter and insert in base