Stack and simplest example rebuilded.