Adding diagram of the design.