added revised design doc