nit: use forEach (given it looks like you mean forEach)