decl memory access functions