checking offsets