in line with the example in class