before data input, functioning filters