examples done in class