merged for non debug macro