def foo
    array.each do |v|
       bar
    end
end
