added logs to troubleshoot