inner scope and outer scope