add comments for used api