improved debugging.