modify compare