temporary add some debugging code