added persistant memory