ajout saving memory