new module in common
initial support for python 3