added if and or exercise.