setting up a scope