code with MET filters