just a demo for class