readded the memory setup