Multiple TH's in a table row with multiple TD's (scope)

Hi,

I've got to create a template for a (to be generated) table and I'm wondering how to make it semantically correct.

I have 4 cols but 2 of the cols contain TH's with the related TD right next to it (the numbers indicate what TD is related to what TD).

I currently added scope="row" to each TH but since I have 2 TH's in each row I'm not sure if this is correct. Normally I would split the table in 2 separate tables but the program generating the table can't do that.

TH (1) |
TD (1) |
TH (2) |
TD (2) |

TH (3) |
TD (3) |
TH (4) |
TD (4) |

TH (5) |
TD (5) |
TH (6) |
TD (6) |

TH (7) |
TD (7) |
TH (8) |
TD (8) |

TH (9) |
TD (9) |
TH (10) |
TD (10) |