I remember making that mistake when i first started coding... gotta remember that conditions don't carry on in the statement. you have to check everything manually.