added table rendering
addig table rendering and merging