Add a method to compare infos