add variable scope examples