doh, variable scope