add data comparing