Setting function parameters as local variables