example in class