DFI3 in-class exercise