Changed loops.rb