changed publicAPI to publicApiController