still working on wrapping the c++ functions in python