add default diff algorithm