Another consideration is the size of the hat. If you have a hatchling, your hat will be much too large for a hide. Corns need hides that allow them to curl up snugly inside, without a whole lto of extra room. An old hat could make a good hide for a somewhat larger snake, though.