wip on logging.