redo spec layout for main.rb