use table to render calendat