collapsing for each element works yay