making the diff UI work