updated tech design doc, performance boost