added swig interface for Jupiter