replace jade with swig