updated with new app endpoints