helper module for beginning py3 compat