Added debug lines to troubleshoot