Adding logs for troubleshooting