new python 3 compatability
new common file for inclusion