adding memory capabilities