adding a bit of python