added createTable()