python example is fixed up