Merging and finalising