added memory elements