use table instead of list to display documents