initial the parameters in functions