taking into account columns that no longer exist