demo state setting