set_offset tested OK