added memory dump