finished testing and writing product.rb