working on function and parameters

working on function and parameters