part of tutorial 4