First prototype with merge-nodes