use stdbool instead of TRUE/FALSE macros