trying to figure out offsets
work on the wdiff