No functional difference, but I wanted to make it clearer that the function is divided up into a calculate THEN modify step. I thought moving the retrieval of styleNodes above the creation of the container made this clearer :)