added dependency comment and changed variable name of prototype.