commented out and documented debug code