logic to figure which frags are missing