diff wrapper