Feature/set function