Connecting patterns to the root