adding scoping