huff is mostly working, weird seg faults