tweaked and added info to the start of the memory allocation section