adding uniqueness test and passing it