Tree of memories