Add logs for debugging