add Whale to swig interface