Some updation in add to compare