using the correct class in the examples