follows new API of CREATE TABLE