complete design doc.