the code from my python class