new python 2.5 compliance added