finalized create and use_table methods