This section will demonstrate how to build a two-input AND gate component using the classes described previously. Then, using two two-input AND gates and a wire, a three-input AND gate will be built to demonstrate how smaller components can be encapsulated together to form larger, more complicated components. Following that, an RS-latch will be described to demonstrate how components with feedback can be designed. These last two examples show how hierarchical descriptions can be achieved using encapsulative techniques.