switch example back to swig