lab functions scopes
functions vs block scopes