first add. code to check out offsets of fitting effect h(z) recovery