initial commit of analyze.rb