add Memory to Container struct