use boolean.h instead of defining a boolean here