new models support for python 3