Chain to Memory