fix: you can't add element to an array while you're in it's each block, that will run forever
use depth