Updated the diagram in an attempt to make it a little more clear