this looks like debugging code.