completed and updated documentation for AI