callback function retrieving article title works in the console log