adapted default.rb recipe