added compareinfo class
added compareinfo class