Added decision on all variable

Boolean "all" variable is a required condition for following if statements but is never declared. Might not be as creator intended.