Add class 6 example code