mem layout added