change 1 variable name and improve comments