added stage persistence