Scoping and Caching

Lexical Scoping and Cache functions