add add and getTable