Static and Python 3 version