When perform query on history and news, better to use complete code.