hey jude flowchart