Completion of tutorial 8