FIX: only define BOOL if it doesn't exists