Got offset working