some updation in add to compare
Some more updates in add to compare