extracted from logging