continued development. using test.rb and test2.rb to test different approaches