final design doc