class demo