INITIALIZING MEMORY