Sintaxys. Changed to python 2.7