condition for control like while