working on variable scobing in compilation