added LoggingSample