when improving, you can:
```
return [] if !np || np.empty?
```