made some progress with offsets