Explain origin of code; try python 3.2