add table into view