add class and example