You seem to have a lot of print statements. Are you able to also provide the printed output?