still hacking away on header fields. Halfway ish.