updated design document, diagrams