add example for class