The mechanisms of cold encoding