add uniqueness constraint