compareUnique function and description correction