Adding the API entry point