changed filter creator and database connector