adding a debugging macro