how can i set all conditions