Adding total memory