replace comments with DEBUG console logging