add comments for each service functions