add diff helper