add batching to table.rb