Scoping from ngbook