Code

substituted bool/true/false with int/TRUE/FALSE (discussed on np-devel)