eliminating unnecessary diff