draft for merging rows