HICKORY NUT CANDY

Boil sugar and water without stirring until thick enough to spin a thread; place saucepan in cold water; add flavoring and stir quickly until white; stir in nuts; turn into flat buttered tin; when cold cut into squares.