made fetch function for NYT