using a machine that beats a hat into shape and also softens the material