shared variables or local parameters to the function?