First pass at converting to python 3
update todo