adds Python binding