Corrected comment and made variable names more telling.