added comment for unclear line of code