Commenting Explanation of the logic