created table method