added charts for how to picture function scope