finished genip.rb