class demo state