Changed output to work with revised API request