First version of tutorial 7