ran 2to3 and used latest compat module which is python3 compatible