Now compliant with Python 3