Some console.logs to track down datacorruption