in class demo