replace this with 
```
for i,entry in enumerate(unprocessed):
```