Analysis and Design doc