Tutorial 6 without Global Vars