creating a table should follow the new defined method