fit to python2.6
fit to python3.3