All data now stored in temp table