while + loose var -> if