impl the the python bindings further