added in swig processing