Updated to new method: addTable