ringing. memory management and tests