create filter tempalte