Some changes in add to compare