renamed reference to compareData