Supporting python 2.7