Corrected application API usage