engine design doc.