modify value compare