Comments added

It also works with any number of url's and it encourages the use of forEach which is less error prone