bootstrap and swig