added new persistance to python 3