trying to support Python 2.7.x