a) what si data.value() is null?
b) why not use
```
for d in data.value()
  ... stuff
```