use table to render