TEMP table (can be used for making the MAIN table)