progressively imporoving the conformance with python3