update to new sc-memory initialize function