hmm..problems with memory