Basic operation of the chain stack