prefer local arguments to scoped variables