add condition fragment