added documentation to the “trick”