integrating swig