compiles with add table method added