Fixed: Variable naming of boolean from $f to $b.