completed the API documentation