use table to store results