added more details to design doc