add condition doc