.rb works in irb ... need to fix table.rb