class 3 example canvas