added unique set function