Formatted main.rb