was worried about some kind of destructor mess...but it does not seem to be the problem