some updates in add to compare