trying to support py3, pt.2