Changed formatting to py3