memory v3

need to learn automated testing.