add filter encoding