added scope::lookup_value