did some ast adjustments
some more adjustments to python3