try not to call ```selection.value()``` inside of a loop
call it once at the top:

```
_selection = selection.value()
```