table should be an array, not a string