updated design doc