add condition to blob