Adding comments to calculate intersection method