Changed variable names, added comment