Before introducing pull
Basic self-join implemented