Oh, and @juandopazo good point about subs.length changing size. There is an async operation in there, huh? :)