can we get a comment on what is actually going on here? there is a lot of logic. Can we maybe use some intermediate variables?