started work on python conversion