added for loop function. loop works but naviagting to the wrong url in .open