function and var name clash