deleted double logging.