Supporting python 3