Added function to get spot offsets