support Python 3 too