Changed nytimes to be the form of a class