Would be nice to add this explanation as a comment in the code!