Third version: add Swig