Shifted code to new location in quoting.rb. Running into scoping issues