additional code for tutorial part 3