year renamed to names, use namedtuple