Use conditions

Use conditions