adding memory