Wow, nice work. How does the diagram work though?