updated design doc 2