Added getfunctionparams