adding memory commenting