first version of step2.rb