variable scope assignment