createTable to addTable