got namedtuples working again