demo for class