create new table and include some API