main.rb - added final refactoring before lunch