add api comments