clarified some variable names.