add diff library