Py2.6 compatible