Narrow function scope