commint before new filtering fucntion