more debugging. very close.