draw a table