Molting occurs periodically throughout the life of a snake. Before each molt, the snake stops eating and often hides or moves to a safe place. Just before shedding, the skin becomes dull and dry looking and the snake's eyes turn cloudy or blue-colored. The inner surface of the old skin liquefies, causing it to separate from the new skin beneath it. After a few days, the eyes become clear and the snake "crawls" out of its old skin, which splits close to the snake's mouth. The snake rubs its body against rough surfaces to aid in the shedding of its old skin. In many cases, the cast skin peels backward over the body from head to tail in one piece, like pulling a sock off inside-out, revealing a new, larger, brighter layer of skin which has formed underneath.