Updated first post with diagram.