Compare function call displayin all values and result correctly.