working on basic memory setup