Use python 3 syntax