Added comments to lines 5, 6 and 7 respectively.