final version of design doc