make to be compilable in Python 3