add table and initialize data