Use the API correctly