this is probably just debug code, right?  could be removed.