switch to swig template