change for python 2.X only