unique with type