added swig templates