Added cube logging.