working on vardecl and block, shadowing global variable