rewrote the way versions are examined