This code is not clear, and certainly requires explanation.