temp table factory