Plus can't you just use the first check here like you did in the previous `if`s? You don't seem to really need to check if `b` is `true` since you cover the other case anyway.