checking for duplicate guid