implement new table structure