added reference comment and changed variable.