use BOOL from type.h