Attempting to support python2.7