added snippet swig_block