add diff feature