Avoid unnecessarily creating local variables