as shown in class