It had to read this twice to understand what is actually happening here. Elegant solution!