create table before checking