got the table working