Added comment for why logging is added here