cleaned up indentations for analyze.rb