comparing elements insteads checksum