adding Filter and pp_constr