solid code, just need to loop through urls