set function param