logger, static functions