Updated boolean example to use 0 rather than 1