replaced reference to engine.language with engine.string