Updated for part3 exercise using url