added comment for better understanding