demo in class