added deleter code (no mutexing)