Ted Mosby needs this hat to match his boots