Memory-prosthesis