renamed test.rb to run.rb
added state analysis