tweaking string.rb