added set function