setting this up to work with the python3 branch of the backend