Some of mid_term.rb finished.