Added compareBaseInfo method