implementing create table