linking is hard, switching to python