Added easier function with random offsets.