exported the parameter setting functions.