Can we add a detailed comment about how this method works?