Adding logs to debug