rename intermediate to immediate. Typo.