changed to py2