add rowspan and colspan