Memory WOrk

Memory is now working