added persistence