added a nifty scoping feature to repository