if-then-else sentence added.
Explanation on if-then-else and 0 var added.