Refining how arguments are passed throughout the function