new python 2 formula