what is the function of setting ​