add mergeCells method.