only export 'diff'