Small change to logic for intermediate products