add ruby:for loop