Added Logs to debug