attempting to get data from an external API