use  a bool instead of a (unused) pointer.