methods - create table and record in the table