some progress

still breaking on unicode strings