redo python cpp potential wrapper using python api