part4(end) of tutorial