How to fold a Hat