merging in the finished layout