add beginnings of python implementation