Added memory diagram