added some features for colspans