TCD course lab 6 exercise