Modified variable scope