swig filter