set function added