adding m to memory setting