help how does variable scope work