you change collect to each, but then I do not see any output of it? looks quite confusing for me.