offsets now working partially