built it with swig