global and local variables

Global variables

Local variables

Mixing the two together