Corrected external API example 1