corrected namedtuple variable name