add comments for api server