Change compare for computation