added memory header