Very elegant solution!