copied from memoria-interna