Example done in class