adding table automation