improve comments and print some offsets