fixed tutorial steps 8 and 9