added comment

added comment to explain calculation