moved model text filter to own class