cake formation