Finished adv2.py