revision 2. new layout, architecture diagram