made changed to lib/engine.rb