changes to API to better define the app