big revamping of memory allocation