add design doc