add code to create table