getting there with manual parsing for py3