more experimentation with memory allocation