added while.rb