added server API integration