memories becomes a submodule