section_fun function

Section a function and set default values in function