got the table working thanks to patrick.